-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix emr_instance_group read when emr_cluster no longer exists #26154
Conversation
Thank you for your contribution! 🚀 Please note that typically Go dependency changes are handled in this repository by dependabot or the maintainers. This is to prevent pull request merge conflicts and further delay reviews of contributions. Remove any changes to the Additional details:
|
Acceptance test output: % make testacc TESTARGS='-run=TestAccEMRInstanceGroup_disappears' PKG=emr ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/emr/... -v -count 1 -parallel 20 -run=TestAccEMRInstanceGroup_disappears -timeout 180m === RUN TestAccEMRInstanceGroup_disappears === PAUSE TestAccEMRInstanceGroup_disappears === CONT TestAccEMRInstanceGroup_disappears --- PASS: TestAccEMRInstanceGroup_disappears (702.91s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/emr 707.151s
…t diff when autoscaling is active. Acceptance test output: % make testacc TESTARGS='-run=TestAccEMRInstanceGroup_basic\|TestAccEMRInstanceGroup_autoScalingPolicy' PKG=emr ACCTEST_PARALLELISM=1 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/emr/... -v -count 1 -parallel 1 -run=TestAccEMRInstanceGroup_basic\|TestAccEMRInstanceGroup_autoScalingPolicy -timeout 180m === RUN TestAccEMRInstanceGroup_basic === PAUSE TestAccEMRInstanceGroup_basic === RUN TestAccEMRInstanceGroup_autoScalingPolicy === PAUSE TestAccEMRInstanceGroup_autoScalingPolicy === CONT TestAccEMRInstanceGroup_basic --- PASS: TestAccEMRInstanceGroup_basic (601.07s) === CONT TestAccEMRInstanceGroup_autoScalingPolicy --- PASS: TestAccEMRInstanceGroup_autoScalingPolicy (660.76s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/emr 1265.839s
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀.
% make testacc TESTARGS='-run=TestAccEMRInstanceGroup_' PKG=emr ACCTEST_PARALLELISM=1
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/emr/... -v -count 1 -parallel 1 -run=TestAccEMRInstanceGroup_ -timeout 180m
=== RUN TestAccEMRInstanceGroup_basic
=== PAUSE TestAccEMRInstanceGroup_basic
=== RUN TestAccEMRInstanceGroup_disappears
=== PAUSE TestAccEMRInstanceGroup_disappears
=== RUN TestAccEMRInstanceGroup_Disappears_emrCluster
=== PAUSE TestAccEMRInstanceGroup_Disappears_emrCluster
=== RUN TestAccEMRInstanceGroup_bidPrice
=== PAUSE TestAccEMRInstanceGroup_bidPrice
=== RUN TestAccEMRInstanceGroup_sJSON
=== PAUSE TestAccEMRInstanceGroup_sJSON
=== RUN TestAccEMRInstanceGroup_autoScalingPolicy
=== PAUSE TestAccEMRInstanceGroup_autoScalingPolicy
=== RUN TestAccEMRInstanceGroup_instanceCount
=== PAUSE TestAccEMRInstanceGroup_instanceCount
=== RUN TestAccEMRInstanceGroup_EBS_ebsOptimized
=== PAUSE TestAccEMRInstanceGroup_EBS_ebsOptimized
=== CONT TestAccEMRInstanceGroup_basic
--- PASS: TestAccEMRInstanceGroup_basic (674.91s)
=== CONT TestAccEMRInstanceGroup_sJSON
--- PASS: TestAccEMRInstanceGroup_sJSON (662.89s)
=== CONT TestAccEMRInstanceGroup_EBS_ebsOptimized
--- PASS: TestAccEMRInstanceGroup_EBS_ebsOptimized (791.40s)
=== CONT TestAccEMRInstanceGroup_instanceCount
--- PASS: TestAccEMRInstanceGroup_instanceCount (1136.92s)
=== CONT TestAccEMRInstanceGroup_autoScalingPolicy
--- PASS: TestAccEMRInstanceGroup_autoScalingPolicy (660.76s)
=== CONT TestAccEMRInstanceGroup_Disappears_emrCluster
--- PASS: TestAccEMRInstanceGroup_Disappears_emrCluster (565.84s)
=== CONT TestAccEMRInstanceGroup_bidPrice
--- PASS: TestAccEMRInstanceGroup_bidPrice (1040.30s)
=== CONT TestAccEMRInstanceGroup_disappears
--- PASS: TestAccEMRInstanceGroup_disappears (544.42s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/emr 5979.674s
@adam-tylr Thanks for the contribution 🎉 👏. |
This functionality has been released in v4.26.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Closes #19552
Output from acceptance testing: